/**
 * @description link entry
 * @author wangfupeng
 */

import { IModuleConf } from '@wangeditor/editor';
import { withLink } from './plugin';

import { insertArticleLinkMenuConf, editLinkMenuConf } from './menu/index';

const link: Partial<IModuleConf> = {
  menus: [insertArticleLinkMenuConf, editLinkMenuConf],
  editorPlugin: withLink,
};

export default link;
